<?php

// Set website folder path
define('WEB_DIR', dirname(__FILE__));

// Set framework folder path
define('CORE_DIR', dirname(WEB_DIR) . '/core');

// Set Web path
define('WEB_URL', dirname("http://{$_SERVER['SERVER_NAME']}/{$_SERVER['SCRIPT_NAME']}"));

// Set framework folder path
define('CONFIG_DIR', WEB_DIR . '/config');

// Use server specified configuration
define('DYNAMIC_CONFIG', true);

// Include QXCore 
include_once(CORE_DIR . '/qxcore/qxcore.php');